export const rules = {
  account: [
    { required: true, message: '请输入用户名', trigger: 'blur' },
    { min: 4, max: 15, message: '长度至少4位,最多8位', trigger: ['change', 'blur'] }
  ],
  password: [
    { required: true, message: '请输入密码', trigger: 'blur' },
    { min: 6, message: '密码必须大于6个字符', trigger: ['change', 'blur'] }
  ],
  identity: [{ required: true, message: '请选择身份', trigger: ['change', 'blur'] }]
}
